package com.nursinghome.emp.mapper;

import com.nursinghome.bean.Holidays;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface EmpHolidaysMapper {
    //查询护工的请假记录
    List<Holidays> selectByMid(Integer mid);
    //护工请假
    Integer insert(Holidays holidays);
    //查询当前时段是否有请假
    Holidays selectByData(@Param("data") String data, @Param("mid") Integer mid);
}
